<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
    <h:head>
        <title>Recruitment</title>
    </h:head>
    <h:body>
        <ui:composition template="templates/template_user.xhtml">
            <ui:define name="content">
                <h:form>
                    <h:outputLabel value="" style="color: burlywood"/>
                    <p:panelGrid columns="2" style="width: 700px" styleClass="ui-custompanelgrid">  

                        <f:facet name="header" >  
                            <label style="color: burlywood">Recruitment Information</label>
                        </f:facet>             
                        <h:outputLabel  value="Company Brief :" style="width: 150px ; color: burlywood" />  
                        <h:outputLabel  value="Company Agency Discipline" style="color: burlywood"/>  


                        <h:outputLabel  value="Department :" style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.departmentID.name}" style="color: burlywood"/>  


                        <h:outputLabel  value="Title: " style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.title}" style="color: burlywood"/>


                        <h:outputLabel  value="Created Date :" style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.createdDate}" style="color: burlywood"/>

                        <h:outputLabel  value="Number of vacancies : " style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.numberRequirement}" style="color: burlywood"/>

                        <h:outputLabel  value="Position " style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.position}" style="color: burlywood"/>

                        <h:outputLabel  value="working place " style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.workingPlace}" style="color:burlywood"/>

                        <h:outputLabel  value="work type " style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.workType}" style="color: burlywood"/>

                        <h:outputLabel  value="minimum salary " style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.minimumSalary}" style="color: burlywood"/>

                        <h:outputLabel  value="maximum salary " style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.maximumSalary}" style="color: burlywood"/>

                        <h:outputLabel  value="Job description: " style="color: burlywood"/>  
                        <p:inputTextarea  value="#{smb.vac.description}"  style="width: 550px ; color: #000" />

                        <h:outputLabel  value="Recruitment skills " style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.skillRequirement}" style="color: burlywood"/>

                        <h:outputLabel  value="Entitlement " style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.entitlement}" style="color: burlywood"/>

                        <h:outputLabel  value="Minimum Age " style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.minimumAge}" style="color: burlywood"/>

                        <h:outputLabel  value="Maximum Age " style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.maximumAge}" style="color: burlywood"/>

                        <h:outputLabel  value="Gender " style="color: burlywood"/>  
                        <h:outputLabel  value="#{smb.vac.gender ? 'Male' : 'Female'}" style="color: burlywood"/>

                        <h:outputLabel  value="Degree " style="color: burlywood" />  
                        <h:outputLabel  value="#{smb.vac.degree}" style="color: burlywood"/>  

                        <h:outputLabel  value="Year Of Experience " style="color: burlywood"/>
                        <h:outputLabel  value="#{smb.vac.yearOfExperience}" style="color: burlywood"/>

                        <h:outputLabel  value="Probationary Period " style="color: burlywood"/>
                        <h:outputLabel  value="#{smb.vac.probationaryPeriod}" style="color: burlywood"/>

                        <h:outputLabel  value="Deadline " style="color: burlywood"/>
                        <h:outputLabel  value="#{smb.vac.deadline}" style="color: burlywood" />
                        <f:facet name="footer">  

                            <h:commandButton value="Apply" style="alignment-adjust: central" action="#{smb.send()}"/>

                        </f:facet>  

                    </p:panelGrid>  
                </h:form> 
            </ui:define>
        </ui:composition>
    </h:body>
</html>

